adTempus API
|
Bitmask defining the days of the week on which the item will be executed
__property long WeekdayMask;
long WeekdayMask;
Property WeekdayMask() As long
0
The WeekdayMask allows you to get or set the weekday selection, without selecting individual days using the Weekdays property. The WeekdayMask is a bit mask, with bits 1-7 representing days 1-7 (Sunday is day 1; Saturday is day 7).
For example, to select Saturday and Sunday you would set bits 1 (=&h2 or binary 10) and 7 (=&h40 or binary 1000000), so the WeekdayMask would be set to &h42 (binary 1000010). To select all days of the week, set the WeekdayMask to SpecialMaskValuesEnum.MaskAllDaysOfWeek.
Two shortcut values are supported: select bit 8 to select any weekday (Monday through Friday) or bit 9 to select any weekend (Saturday or Sunday).
adTempus API Reference version 3.0.0.0, revised 10/30/2008
|